home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / program / rcs5ap1b.lzh / MERGE.1LP < prev    next >
Text File  |  1991-01-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. MERGE(1)               Programmer's Manual               MERGE(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      merge - three-way file merge
  10.  
  11. SYNOPSIS
  12.      merge [ -L _✓l_✓a_✓b_✓e_✓l_✓1 [ -L _✓l_✓a_✓b_✓e_✓l_✓3 ] ] [ -p ] [ -q ] _✓f_✓i_✓l_✓e_✓1 _✓f_✓i_✓l_✓e_✓2
  13.      _✓f_✓i_✓l_✓e_✓3
  14.  
  15. DESCRIPTION
  16.      merge incorporates all changes that lead from _✓f_✓i_✓l_✓e_✓2 to _✓f_✓i_✓l_✓e_✓3
  17.      into _✓f_✓i_✓l_✓e_✓1.  The result goes to standard output if -p is
  18.      present, into _✓f_✓i_✓l_✓e_✓1 otherwise.  merge is useful for combin-
  19.      ing separate changes to an original.  Suppose _✓f_✓i_✓l_✓e_✓2 is the
  20.      original, and both _✓f_✓i_✓l_✓e_✓1 and _✓f_✓i_✓l_✓e_✓3 are modifications of
  21.      _✓f_✓i_✓l_✓e_✓2.  Then merge combines both changes.
  22.  
  23.      An overlap occurs if both _✓f_✓i_✓l_✓e_✓1 and _✓f_✓i_✓l_✓e_✓3 have changes in a
  24.      common segment of lines.  merge outputs a message if over-
  25.      laps occurred, and includes both alternatives in the result.
  26.      The alternatives are delimited as follows:
  27.  
  28.           <<<<<<< _✓f_✓i_✓l_✓e_✓1
  29.           _✓l_✓i_✓n_✓e_✓s _✓i_✓n _✓f_✓i_✓l_✓e_✓1
  30.           =======
  31.           _✓l_✓i_✓n_✓e_✓s _✓i_✓n _✓f_✓i_✓l_✓e_✓3
  32.           >>>>>>> _✓f_✓i_✓l_✓e_✓3
  33.  
  34.      If there are overlaps, the user should edit the result and
  35.      delete one of the alternatives.  If the -L _✓l_✓a_✓b_✓e_✓l_✓1 and
  36.      -L _✓l_✓a_✓b_✓e_✓l_✓3 options are given, the labels are output in place
  37.      of the names _✓f_✓i_✓l_✓e_✓1 and _✓f_✓i_✓l_✓e_✓3 in overlap reports.  Any over-
  38.      lap message is suppressed if the -q option is given.
  39.  
  40. DIAGNOSTICS
  41.      Exit status is 0 for no overlaps, 1 for some overlaps, 2 for
  42.      trouble.
  43.  
  44. IDENTIFICATION
  45.      Author: Walter F. Tichy.
  46.      Revision Number: 5.1; Release Date: 1990/08/29.
  47.      Copyright c 1982, 1988, 1989 by Walter F. Tichy.
  48.      Copyright c 1990 by Paul Eggert.
  49.  
  50. SEE ALSO
  51.      diff3(1), diff(1), rcsmerge(1), co(1).
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Printed 1/29/91            1990/08/29                           1
  64.  
  65.  
  66.  
  67.